package com.duruikang.LeaveAPI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author Drik
 * @date 2021-12-17 15:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("examine")
public class Examine implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId("examine_id")
    private String examineId;
    /**
     * 所属请假单id
     */
    @TableField("leaving_id")
    private String leavingId;
    /**
     * 审批操作人id
     */
    @TableField("teacher_id")
    private String teacherId;
    /**
     * 操作时间
     */
    @TableField("examine_date")
    private LocalDate examineDate;
    /**
     * 审批结果
     */
    @TableField("examine_result")
    private Integer examineResult;
    /**
     * 审批意见
     */
    @TableField("examine_comment")
    private String examineComment;
}
